/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 邓大帅
 * Date: 2022-11-14
 * Time: 17:12
 */
class Person {
    private String name;
    private int age;
    public void set(String name1,int age1) {
        name = name1;
        age = age1;
    }
    public void show() {
        System.out.println(name);
        System.out.println(age);
    }
}
public class Test {
    public static void main(String[] args) {
        Person person = new Person();
        person.set("dpy",20);
        person.show();
    }
}
